package com.augurit.gzcgwsp.ywcmn.service;

import java.util.Map;
import org.springside.modules.orm.Page;

import com.augurit.common.base.service.ICrudService;
import com.augurit.gzcgwsp.ywcmn.entity.YwComYsgs;
import com.augurit.gzcgwsp.ywcmn.web.form.YwComYsgsForm;

public interface IYwComYsgsService extends ICrudService<YwComYsgsForm, Long> {
    public YwComYsgsForm getFormByYsgs(String ysgs,String tempcode);
    public YwComYsgsForm getFormByYsgs(String ysgs);
    public void update(YwComYsgsForm form);
    public void updateYwComYsgs(YwComYsgsForm form);

    /**
     * 查询运输公司
     * @param qyid
     * @param acceptNo
     * @return
     */
    public YwComYsgs getYwComYsgs(Long qyid, String acceptNo);

    public void saveEntity(YwComYsgs entity);

    /**
     * 查询出所有的运输公司
     * @return
     */
	public Map<Long, String> getYsgs();

	public Long saveEnterpriseInfo(YwComYsgsForm form);

	/**
	 * 查询运输公司
	 * @param qyname 企业名称
	 * @param tempcode 业务编码
	 * @return
	 */
	public YwComYsgs getEntity(String qyname, String tempcode);
	public Page<YwComYsgsForm> findYsgs(Page<YwComYsgsForm> page, YwComYsgsForm form);
	public Page<YwComYsgsForm> searchData(Page<YwComYsgsForm> page, YwComYsgsForm form);
    
}